package com.oa.system.entity;

import lombok.Data;

import javax.websocket.Session;

@Data
public class WebSocketUser {

    /**
     * 会话
     */
    private Session session;

    /**
     * 用户编号
     */
    private String userId;

    public boolean isExist(){
        return this.userId != null;
    }
}
